<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML >
<c:set var="ctx" value="<%=request.getContextPath()%>"></c:set>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎</title>
</head>
<body>
	<form action="${ctx }/user" method="post">
		户名:<input type="text" name="user.userName" /><br /> 密码:<input
			type="password" name="user.userPasswd" /><br /> <input
			type="submit" name="register" value="注册" /> <input type="submit"
			name="login" value="登录" />
	</form>
	${message}
</body>
</html>
